<?php
	session_start();	
	include('../classess/db_connection.php');
	if(isset($_SESSION['id'])){
	
	}else{
		header('Location:../index.php');
	}
?>
<!DOCTYPE html>
<html lang="en">
<head>	
	<!-- start: Meta -->
		<meta charset="utf-8">
		<title>Admin</title>
		<meta name="description" content="">
		<meta name="author" content="">
		<meta name="keyword" content="">
	<!-- end: Meta -->	
	
	<!-- start: Mobile Specific -->
		<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- end: Mobile Specific -->
	
	<!-- start: CSS -->
		<link href="inner_css/bootstrap.min.css" rel="stylesheet">
		<link href="inner_css/style.min.css" rel="stylesheet">
		<link href="inner_css/retina.min.css" rel="stylesheet">
		<link href="inner_css/datepicker_style.css" rel="stylesheet">
		<link href="inner_css/sc-edge.css" rel="stylesheet">
	<!-- end: CSS -->	

	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	  	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<script src="inner_js/respond.min.js"></script>
		<link href="inner_css/ie.css" rel="stylesheet">
	<![endif]-->
	
	<!--[if IE 9]>
		<link id="ie9style" href="inner_css/ie9.css" rel="stylesheet">
	<![endif]-->

	<!-- start: Favicon Icons  -->	
		<!--<link rel="shortcut icon" href="img/favicon.png">-->
	<!-- end: Favicon Icons -->	

	<script type="text/javascript" src="inner_js/jquery.js"></script>
	<script type="text/javascript" src="inner_js/validate.js"></script>

	<!-- This Script is using for handle browser back button. Starts Here-->
 
	 <script type = "text/javascript" >
	  var isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0;  
	  if(isSafari == true){
	   function preventBack(){window.reload;}
	   setTimeout("preventBack()", 0);
	   window.onunload=function(){null};
	  }
	 </script>
 <!-- This Script is using for handle browser back button. Ends Here-->
	<style>
	.main_form_box{
		max-width:480px;
		padding:20px;	
	}
	.form-content label {
		display: block;
		font-weight: normal;
		width: 70%;
		margin: 0 auto;
		color: gray;
		cursor: default;
		line-height: 30px;
	}
	.form-content-form input, .form-content-form textarea, .form-content-form select {
		display: block;
		margin: 0 auto 15px;
		width: 70%;
		background: #FFFFFF;
		border: 1px solid #bfbfbf;
		color: #6c6c6c;
		padding: 8px;
	}
	input, button, select, textarea {
		font-family: inherit;
		font-size: inherit;
		line-height: inherit;
	}
	.btn-blue {
		width: 120px;
		display: block;
		margin: 20px auto 20px;
		color: white;
		text-transform: uppercase;
		text-shadow: 1px 2px 2px #c44c4c;
		background: #0066FF;
		border: 1px solid #0066FF;
		-webkit-box-shadow: inset 0 1px 2px #ff8c8c;
		-moz-box-shadow: inset 0 1px 2px #ff8c8c;
		box-shadow: inset 0 1px 2px #ff8c8c;
		-webkit-transition: background .5s ease-in-out;
		-moz-transition: background .5s ease-in-out;
		-o-transition: background .5s ease-in-out;
		transition: background .5s ease-in-out;
	}
	.btn {
		display: inline-block;
		padding: 6px 12px;
		margin-bottom: 0;
		font-size: 14px;
		font-weight: normal;
		line-height: 1.428571429;
		text-align: center;
		white-space: nowrap;
		vertical-align: middle;
		cursor: pointer;
		border: 1px solid transparent;
		border-radius: 4px;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		-o-user-select: none;
		user-select: none;
	}
	.btn:hover, .btn:focus{
		color: white;
	}
	.search_box{
		height:50px;
		padding:10px 0px 10px 0px;
	}
	.sel_label_search{
		width: 7%;
		font-size: 16px;
		font-weight: normal;
		margin-top: 6px;
	}
	#search_form input[type='text']{
		display: inline-block;
		margin: 0 auto 15px;
		width: 30%;
		background: #FFFFFF;
		border: 1px solid #bfbfbf;
		color: #6c6c6c;
		padding: 8px;
	}
	.srch_btn{
		margin-top:0px;
	}
</style>
</head>
<body>
	<!-- start: Header -->
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container">
				<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".sidebar-nav.nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a href="http://rvtraining.net/" target="_blank" class="navbar-brand"><span>RV Training Solutions</span></a>
									
				<!-- start: Header Menu -->
				<div class="nav-no-collapse header-nav">
					<ul class="nav pull-right">						
						<!-- start: User Dropdown -->
						<li class="dropdown">
							<a class="btn dropdown-toggle" data-toggle="dropdown">
								<i class="halflings user white"></i> <?php echo $_SESSION['user_name']; ?>
								<span class="caret"></span>
							</a>
							<ul class="dropdown-menu">
								
								<li><a href="<?php echo "../classess/logout.php"; ?>"><i class="halflings off white"></i> Logout</a></li>
							</ul>
						</li>
							<!-- end: User Dropdown -->
					</ul>
				</div>
				<!-- end: Header Menu -->				
			</div>
		</div>
	</div>
	<!-- end Header -->